<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Framework by Gaétan Collaud: Référence de la classe RamCache</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&nbsp;associées</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Champs&nbsp;de&nbsp;donnée</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe RamCache</h1><!-- doxytag: class="RamCache" --><!-- doxytag: inherits="ItfCache" -->
<p>Class <a class="el" href="class_ram_cache.html" title="Class RamCache.">RamCache</a>.  
<a href="#_details">Plus de détails...</a></p>
<div class="dynheader">
Graphe d'héritage de RamCache:</div>
<div class="dynsection">
 <div class="center">
  <img src="class_ram_cache.png" usemap="#RamCache_map" alt=""/>
  <map id="RamCache_map" name="RamCache_map">
<area href="interface_itf_cache.html" alt="ItfCache" shape="rect" coords="0,0,73,24"/>
</map>
 </div>
</div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Fonctions membres publiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ram_cache.html#a78572828d11dcdf2a498497d9001d557">connect</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ram_cache.html#a7a5246397eb9b3c8cf890a130dee340d">get</a> ($k)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retour une variable.  <a href="#a7a5246397eb9b3c8cf890a130dee340d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ram_cache.html#a8f0872d3c38e4089334d2bcfc55afe51">set</a> ($k, $v)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Définit une variable.  <a href="#a8f0872d3c38e4089334d2bcfc55afe51"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ram_cache.html#a5a29ba96eba440ed08bc534b03c60314">del</a> ($k)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Supprime une variable.  <a href="#a5a29ba96eba440ed08bc534b03c60314"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ram_cache.html#a7751f77b5263bcf940ece6e824a05b38">flush</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vide le cache (supprime toutes les variables).  <a href="#a7751f77b5263bcf940ece6e824a05b38"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ram_cache.html#aaea730e06f325e9287fa12181277bce4">stats</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retourne des statistiques sur l'utilisation du cache.  <a href="#aaea730e06f325e9287fa12181277bce4"></a><br/></td></tr>
<tr><td colspan="2"><h2>Champs de données</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ram_cache.html#a6768772c01f2d4f111fabd25012e8259">HOST</a> = '192.168.2.133'</td></tr>
<tr><td colspan="2"><h2>Attributs privés</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ram_cache.html#adb9756d4524181e191069eaa76afb6cf">$connected</a> = false</td></tr>
</table>
<hr/><a name="_details"></a><h2>Description détaillée</h2>
<p>Class <a class="el" href="class_ram_cache.html" title="Class RamCache.">RamCache</a>. </p>
<p>Utilise MemCache pour stocker des variables dans RAM. </p>
<dl class="author"><dt><b>Auteur:</b></dt><dd>Gaetan Collaud </dd></dl>
<hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="a78572828d11dcdf2a498497d9001d557"></a><!-- doxytag: member="RamCache::connect" ref="a78572828d11dcdf2a498497d9001d557" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">connect </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5a29ba96eba440ed08bc534b03c60314"></a><!-- doxytag: member="RamCache::del" ref="a5a29ba96eba440ed08bc534b03c60314" args="($k)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">del </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>k</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Supprime une variable. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$k la clé </td></tr>
  </table>
  </dd>
</dl>

<p>Implémente <a class="el" href="interface_itf_cache.html#a5a29ba96eba440ed08bc534b03c60314">ItfCache</a>.</p>

</div>
</div>
<a class="anchor" id="a7751f77b5263bcf940ece6e824a05b38"></a><!-- doxytag: member="RamCache::flush" ref="a7751f77b5263bcf940ece6e824a05b38" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">flush </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Vide le cache (supprime toutes les variables). </p>

<p>Implémente <a class="el" href="interface_itf_cache.html#a7751f77b5263bcf940ece6e824a05b38">ItfCache</a>.</p>

</div>
</div>
<a class="anchor" id="a7a5246397eb9b3c8cf890a130dee340d"></a><!-- doxytag: member="RamCache::get" ref="a7a5246397eb9b3c8cf890a130dee340d" args="($k)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>k</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retour une variable. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$k la clé </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>mixed la valeur </dd></dl>

<p>Implémente <a class="el" href="interface_itf_cache.html#a7a5246397eb9b3c8cf890a130dee340d">ItfCache</a>.</p>

</div>
</div>
<a class="anchor" id="a8f0872d3c38e4089334d2bcfc55afe51"></a><!-- doxytag: member="RamCache::set" ref="a8f0872d3c38e4089334d2bcfc55afe51" args="($k, $v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">set </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>v</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Définit une variable. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>String</em>&nbsp;</td><td>$k la clé </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mixed</em>&nbsp;</td><td>$v la valeur </td></tr>
  </table>
  </dd>
</dl>

<p>Implémente <a class="el" href="interface_itf_cache.html#a8f0872d3c38e4089334d2bcfc55afe51">ItfCache</a>.</p>

</div>
</div>
<a class="anchor" id="aaea730e06f325e9287fa12181277bce4"></a><!-- doxytag: member="RamCache::stats" ref="aaea730e06f325e9287fa12181277bce4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">stats </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retourne des statistiques sur l'utilisation du cache. </p>

<p>Implémente <a class="el" href="interface_itf_cache.html#aaea730e06f325e9287fa12181277bce4">ItfCache</a>.</p>

</div>
</div>
<hr/><h2>Documentation des champs</h2>
<a class="anchor" id="adb9756d4524181e191069eaa76afb6cf"></a><!-- doxytag: member="RamCache::$connected" ref="adb9756d4524181e191069eaa76afb6cf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$connected = false<code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6768772c01f2d4f111fabd25012e8259"></a><!-- doxytag: member="RamCache::HOST" ref="a6768772c01f2d4f111fabd25012e8259" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_ram_cache.html#a6768772c01f2d4f111fabd25012e8259">HOST</a> = '192.168.2.133'</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>libs/cache/<a class="el" href="_ram_cache_8class_8php.html">RamCache.class.php</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Généré le Sun May 30 20:39:44 2010 pour Framework by Gaétan Collaud par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
